package com.yogi.webframework.dao;

import java.io.Serializable;

import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.yogi.webframework.model.Shop;

@Repository("shopDao")
@Transactional( propagation = Propagation.MANDATORY )
public class ShopDaoImpl extends GenericDaoHibernateImpl<Shop, Serializable> implements ShopDao {

	@Autowired
	public ShopDaoImpl(SessionFactory session){
		super.setSessionFactory(session);
	}
}
